﻿using System;
using System.Collections.Generic;

using MongoDB.Bson.Serialization.Attributes;

namespace MVCBootstrap.MongoDB {

	public class Text {
		[BsonElement(TextFieldNames.Key)]
		public String Key { get; set; }
		[BsonElement(TextFieldNames.Texts)]
		public List<Translation> Texts { get; set; }
	}

	internal static class TextFieldNames {
		public const String Key = "key";
		public const String Texts = "texts";
	}
}